package com.dl.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author DL
 * @create 2021-6-11 15:43
 */
@Data
@ConfigurationProperties(prefix = "dl.shiro")
public class ShiroProperties {

    private String shiroCacheName = "shiroCache";

    private String authenticationCacheName = "authenticationCache";//认证缓存名称

    private String authorizationCacheName = "authorizationCache";//授权缓存名称

    private String sessionIdCookieName = "sessionId";//保存sessionId的cookie名称

    private String rememberMeCookieName = "rememberMe";//保存记住我信息的cookie名称

    private int maxSession = 1;//最大同时在线人数

    private int retryLimitNumber = 4;//密码尝试次数

}
